package com.zp.self.module.level_1_问道.III_多线程.II_synchronized;

public class SynchronizedDemo2 {

    Object object = new Object();
    public void method1() {
        synchronized (object) {

        }
        method2();
    }

    private static void method2() {
        System.out.println();
    }
}
